<template>
	<view style="display: flex;flex-wrap: wrap;"
	:style="{
		'width': nodeModel.configDict.componentStyle.width+'rpx',
	    'background': nodeModel.configDict.componentStyle.background,
		'flex-direction': nodeModel.configDict.componentStyle.flex_direction,
		'justify-content': nodeModel.configDict.componentStyle.justify_content,
		'align-items': nodeModel.configDict.componentStyle.align_items,
		'marginTop': nodeModel.configDict.componentStyle.marginTop+'rpx',
		'marginBottom': nodeModel.configDict.componentStyle.marginBottom+'rpx',
		'marginLeft': nodeModel.configDict.componentStyle.marginLeft+'rpx',
		'marginRight': nodeModel.configDict.componentStyle.marginRight+'rpx',
		'paddingTop': nodeModel.configDict.componentStyle.paddingTop+'rpx',
		'paddingBottom': nodeModel.configDict.componentStyle.paddingBottom+'rpx',
		'paddingLeft': nodeModel.configDict.componentStyle.paddingLeft+'rpx',
		'paddingRight': nodeModel.configDict.componentStyle.paddingRight+'rpx'
		}">
		<u-parse :content="nodeModel.configDict.componentStyle.richtext" :selectable="true"
			style="padding-top: 20rpx;"
			:style="{
			'width': nodeModel.configDict.itemStyle.width+'rpx',
			}"></u-parse>
	</view>
</template>

<script>
	import {count} from '@/common/utils/count.js'
	export default{
		props: {
			nodeModel: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
			}
		},
		methods:{
			itemHandle(e){
				this.$emit('itemHandle', e)
			}
		}
	}
</script>

<style>
</style>
